#include <jni.h>

#ifndef _Included_s_audio_android
#define _Included_s_audio_android
#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM*, void*);

// PdAudio methods
JNIEXPORT void JNICALL Java_org_puredata_PdAudio_setNativeAudioReference(JNIEnv*, jobject, jobject);
JNIEXPORT void JNICALL Java_org_puredata_PdAudio_deleteNativeAudioReference(JNIEnv*, jobject, jobject);
JNIEXPORT void JNICALL Java_org_puredata_PdAudio_setNativeAudioReferences(JNIEnv*, jobject, jobject, jobject);
JNIEXPORT void JNICALL Java_org_puredata_PdAudio_deleteNativeAudioReferences(JNIEnv*, jobject, jobject, jobject);

// PdService methods
JNIEXPORT void JNICALL Java_org_puredata_PdService_openPatch(JNIEnv*, jobject, jstring, jstring);
JNIEXPORT void JNICALL Java_org_puredata_PdService_startPd(JNIEnv*, jobject);
JNIEXPORT void JNICALL Java_org_puredata_PdService_sendMessage(JNIEnv*, jobject, jstring, jstring, jstring, jint);

#ifdef __cplusplus
}
#endif
#endif
